/**
 * 
 */
package sk.stuba.fiit.foo07.genex.beans;

/**
 * @author Martin
 * 
 */
public class QuestionPoints {
    private Integer questionId;
    private Float points;

    public QuestionPoints() {
    }

    public QuestionPoints(Integer questionId, Float points) {
        super();
        this.questionId = questionId;
        this.points = points;
    }

    /**
     * @return the questionId
     */
    public Integer getQuestionId() {
        return questionId;
    }

    /**
     * @param questionId
     *                the questionId to set
     */
    public void setQuestionId(Integer questionId) {
        this.questionId = questionId;
    }

    /**
     * @return the points
     */
    public Float getPoints() {
        return points;
    }

    /**
     * @param points
     *                the points to set
     */
    public void setPoints(Float points) {
        this.points = points;
    }

    /* (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return this.points.toString();
    }

}
